package com.atguigu.admin.mapper;

import com.atguigu.admin.bean.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * ClassName: DeptMapper
 * Package: com.atguigu.admin
 * Description:
 *
 * @Author Root
 * @Create 2023/5/3 11:37
 * @Version 1.0
 */
@Mapper
public interface DeptMapper {
    @Select("select * from  t_dept where  dept_id=#{id}")
    public Dept getDept(Integer id);
}
